<?php

/* Author: Panos Sakkos
 * Deletes entity with the target entity id without checking for the owner
 */

function BL_admin_delete_entity($categoryId, $entityId)
{
    $category = DB_getCategory($categoryId);
    $owner = $category->GetOwner();
    $entity = DB_getEntity($entityId);

    DB_category_deleteentity($owner, $category->GetName(), $entity->GetName());
}

?>